package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppMessageRecordDao;
import com.vf.admin.client.service.AppSystemService;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppMessageRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppSystemServiceImpl implements AppSystemService {
    @Autowired
    private AppMessageRecordDao appMessageRecordDao;

    @Override
    public List<AppMessageRecord> findList(Integer userid,SplitPageBean splitPage) {
        return appMessageRecordDao.findList(userid,splitPage);
    }

    @Override
    public AppMessageRecord get(Integer id) {
        return appMessageRecordDao.get(id);
    }

    @Override
    public AppMessageRecord getNew(Integer userid) {
        return appMessageRecordDao.getNew(userid);
    }

    @Override
    public void save(AppMessageRecord pojo) {
        appMessageRecordDao.save(pojo);
    }

    @Override
    public void del(Integer id) {
        appMessageRecordDao.del(id);
    }

}
